<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/jquery-3.2.1.min.js" ></script>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css" />
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js" ></script>
<link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.min.css">
</head>
<body>
	<div class="container-fluid" style="margin-top:20px;">
	<div class="row-fluid">
		<div class="span12">
			<div class="row-fluid">
				<div class="span6">
					<table class="table">
						<tbody>
							<tr>
								<td style="background-color: deepskyblue; width: 50px;"><i class="fa fa-comments-o fa-5x" style="color: white;"></i></td>
								<td style="padding: 10px;">
									<span><b>评论待回复</b></span><br>
									<a href="#">${goodapp}</a>个
								</td>
								<td style="background-color: #DD1144; width: 50px;"><i class="fa fa-commenting-o fa-5x" style="color: white;"></i></td>
								<td style="padding: 10px;">
									<span><b>建议待回复</b></span><br>
									<a href="#">100</a>个
								</td>
							</tr>
							<tr><td></td></tr>
							<tr>
								<td style="background-color: orchid; width: 50px;"><i class="fa fa-thumbs-o-down fa-5x" style="color: white;"></i></td>
								<td style="padding: 10px;">
									<span><b>退款申请</b></span><br>
									<a href="#">${retu}</a>个
								</td>
								<td style="background-color: green; width: 50px;"><i class="fa fa-user-o fa-5x" style="color: white;"></i></td>
								<td style="padding: 10px;">
									<span><b>待审商家</b></span><br>
									<a href="#">20</a>个
								</td>
							</tr>
						</tbody>
					</table>
				</div>
				<div class="span6">
					<table class="table">
						<tbody>
							<tr>
								<td style="background-color: #51A351; width: 50px;"><i class="fa fa-twitch fa-5x" style="color: white;"></i></td>
								<td style="padding: 10px;">
									<span><b>咨询待回复</b></span><br>
									<a href="#">${goodask}</a>个
								</td>
								<td style="background-color: #FBB450; width: 50px;"><i class="fa fa-truck fa-5x" style="color: white;"></i></td>
								<td style="padding: 10px;">
									<span><b>付款待发货</b></span><br>
									<a href="#">${order}</a>个
								</td>
							</tr>
							<tr><td></td></tr>
							<tr>
								<td style="background-color: darkorange; width: 50px;"><i class="fa fa-clone fa-5x" style="color: white;"></i></td>
								<td style="padding: 10px;">
									<span><b>待审商品</b></span><br>
									<a href="#">${goods}</a>个
								</td>
								<td style="background-color: gold; width: 50px;"><i class="fa fa-money fa-5x" style="color: white;"></i></td>
								<td style="padding: 10px;">
									<span><b>待审提现</b></span><br>
									<a href="#">0</a>个
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
			<div class="row-fluid">
				<div class="span6">
					<table class="table">
						<thead>
							<tr>
								<th colspan="2"><h3><i class="fa fa-list"></i> 系统信息</h3></th>
							</tr>
						</thead>
						<tbody>
							<tr style="background-color: #D9D9D9;">
								<td style="width: 100px;padding-left: 20px;">购买及服务</td>
								<td>联系我们</td>
							</tr>
							<tr>
								<td style="width: 100px;padding-left: 20px;">当前版本号</td>
								<td>5.2.18070700</td>
							</tr>
							<tr style="background-color: #D9D9D9;">
								<td style="width: 100px;padding-left: 20px;">最新版本号</td>
								<td>5.1.18051000</td>
							</tr>
							<tr>
								<td style="width: 100px;padding-left: 20px;">官网地址</td>
								<td>www.aircheng.com</td>
							</tr>
							<tr style="background-color: #D9D9D9;">
								<td style="width: 100px;padding-left: 20px;">服务器软件</td>
								<td>Apache</td>
							</tr>
							<tr>
								<td style="width: 100px;padding-left: 20px;">附件上传容量</td>
								<td>50M</td>
							</tr>
							<tr style="background-color: #D9D9D9;">
								<td style="width: 100px;padding-left: 20px;">授权信息</td>
								<td>商业授权版</td>
							</tr>
						</tbody>
					</table>
				</div>
				<div class="span6">
					<table class="table">
						<thead>
							<tr>
								<th colspan="2"><h3><i class="fa fa-line-chart"></i> 基础统计</h3></th>
							</tr>
						</thead>
						<tbody>
							<tr style="background-color: #D9D9D9;">
								<td style="width: 100px;padding-left: 20px;">商家数量</td>
								<td>2 家</td>
							</tr>
							<tr>
								<td style="width: 100px;padding-left: 20px;">销售总额</td>
								<td>${price}元</td>
							</tr>
							<tr style="background-color: #D9D9D9;">
								<td style="width: 100px;padding-left: 20px;">注册用户</td>
								<td>${luser2}个</td>
							</tr>
							<tr>
								<td style="width: 100px;padding-left: 20px;">产品数量</td>
								<td>${goods2}个</td>
							</tr>
							<tr style="background-color: #D9D9D9;">
								<td style="width: 100px;padding-left: 20px;">品牌数量</td>
								<td>${sss}个</td>
							</tr>
							<tr>
								<td style="width: 100px;padding-left: 20px;">订单数量</td>
								<td>${order2}个</td>
							</tr>
							<tr style="background-color: #D9D9D9;">
								<td style="width: 100px;padding-left: 20px;">库存预警</td>
								<td>1 个</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
			<div class="row-fluid">
				<div class="span12">
					<table class="table">
						<thead>
							<tr>
								<th><h3><i class="fa fa-file-o"></i> 最新10条等待处理订单</h3></th>
							</tr>
						</thead>
						<thead>
							<tr>
								<th>订单号</th>
								<th>收货人</th>
								<th>订单状态</th>
								<th>金额</th>
								<th>下单时间</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${list}" var="u" varStatus="vs">
								<tr>
									<td>${u.o_code}</td>
									<td>${u.r_name}</td>
									<td>${u.o_states}</td>
									<td>${u.total_money}</td>
									<td>${u.buy_date}</td>
									<td>
										<a href="lorders?action=querySelect&code=${u.o_code}">查看</a>
										<a id="${u.o_code}" class="goodslist_delete" href="javascript:void(0);">删除</a>
									</td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>